package rmmk.framework.datasources;

import java.util.ArrayList;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import rmmk.framework.datasources.abstracts.DocumentCategories;

/**
 * Klasa przechowująca dokumenty
 * @author Marcin
 *COMPANIES - tego nie ma 
 */
public class Document extends DocumentCategories{
	private static Logger logger = LoggerFactory.getLogger(Document.class);
	//private StringBuilder TEXT;
	private String TEXT;
	private String DATE, MKNOTE,  UNKNOWN, TITLE, DATELINE;
	private DocumentCategories classifiedCategories;
	
	public DocumentCategories getClassifiedCategories() {
		return classifiedCategories;
	}

	public void setClassifiedCategories(DocumentCategories classifiedCategories) {
		if(classifiedCategories == null)
			logger.warn("Zaklasyfikowany jako null!");
		
		this.classifiedCategories = classifiedCategories;
	}

	private ArrayList<String> extractedWords = new ArrayList<String>();
	
	public ArrayList<String> getExtractedWords() {
		return extractedWords;
	}

	public void setExtractedWords(ArrayList<String> extractedWords) {
		this.extractedWords = extractedWords;
	}
	
	public String getDATE() {
		return DATE;
	}

	public void setDATE(String dATE) {
		DATE = dATE;
	}

	public String getMKNOTE() {
		return MKNOTE;
	}

	public void setMKNOTE(String mKNOTE) {
		MKNOTE = mKNOTE;
	}

	public String getUNKNOWN() {
		return UNKNOWN;
	}

	public void setUNKNOWN(String uNKNOWN) {
		UNKNOWN = uNKNOWN;
	}

	public String getTEXT() {
		return TEXT;
	}

	public void setTEXT(String tEXT) {
		TEXT = tEXT;
	}

	public String getTITLE() {
		return TITLE;
	}

	public void setTITLE(String tITLE) {
		TITLE = tITLE;
	}

	public String getDATELINE() {
		return DATELINE;
	}

	public void setDATELINE(String dATELINE) {
		DATELINE = dATELINE;
	}
}
